{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}/Users/alexandertokhi/Nextcloud/MiZ/PoP/Pop_replication/stataLog.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}18 Feb 2021, 18:00:33

{com}. do replication
{txt}
{com}. version 16 
{txt}
{com}. 
. /// This file replicates the figure and tables from manuscript: How Non-Majoritarian Institutions Make Silent Majorities Vocal: A Political Explanation of Authoritarian Populism.  
> 
. 
. * Code to replicate Figure 2, see R-script:  WVS_Trust.R 
. 
. * Code to replicate Figure 3 
. 
. use replication, clear 
{txt}
{com}. 
. xtset ccode 
{txt}{col 8}panel variable:  {res}ccode (balanced)
{txt}
{com}. 
. xtline stdauth stdnras, i(country) t(year) ylabel(, angle(hor) grid) ///
> xlabel(1960(10)2010, grid) xtick(1960(5)2010) legend(rows(1) label(1 "IO Authority") label(2 "Regulatory Agencies")) ///
> xtitle("Year") 
{res}{txt}
{com}. 
. * Code to replicate Figure 4 
. 
. xtline z_NMIsum z_pctg_g, i(country) t(year) ylabel(, angle(hor) grid) xlabel(1960(10)2010, grid) xtick(1960(5)2010) legend(rows(1) label(1 "Sum NMI") label(2 "Great Trust in Parliaments")) ///
> xtitle("Year") 
{res}{txt}
{com}. 
. * Footnote 18: correlation between NMI and Trust: 
. 
. corr z_NMIsum z_pctg_g 
{txt}(obs=380)

             {c |} z_NMIsum z_pctg~t
{hline 13}{c +}{hline 18}
    z_NMIsum {c |}{res}   1.0000
{txt}z_pctg_great {c |}{res}  -0.3856   1.0000

{txt}
{com}. 
. * Code to replicate Figure 5: 
. 
. use claims, clear 
{txt}
{com}. serrbar q_pos q_pos_se act_type, legend(order(0 "Legislative" 1 "Judiciary" 2 "Experts" 3 "Government/Executive" 4 "IOs")) title( Means of Political Positions of Actors )xtitle(Type of Actor) ytitle(Mean of Political Position) ylabel(,angle(0)) 
{res}{txt}
{com}. 
. use replication, clear
{txt}
{com}. * Code to replicate Figure 6, see R-Script: auth_rwp_parties_shares.R 
. 
. 
. * Code to replicate Figure 7: 
. 
. xtline z_NMIsum z_vote, i(country) t(year) scheme(s1mono) ///
> ylabel(, angle(hor) grid) xlabel(1960(10)2010 , grid) xtick(1960(5)2010) ///
> legend(label(1 "NMI") label(2 "Vote Share")) xtitle("Year") 
{res}{txt}
{com}. 
. 
. 
. * Code to repliacte Figure-Appendix 2: "WVC Trust in Parliament over time (all countries)" 
. 
. // see R script WVS_Trust.R 
. 
. * Code to reproduce Figure Appendix 3: "The Rise of NMIs in 16 Electoral Democracies (NMI Index)"
. 
. collapse (sum) stdNMIsum, by(year) 
{txt}
{com}. 
. tsset year
{res}{txt}{col 9}time variable:  {res}{col 25}year, 1960 to 2013
{txt}{col 17}delta:  {res}1 unit
{txt}
{com}. tsline stdNMIsum 
{res}{txt}
{com}. 
. 
. 
. 
. 
. 
. 
. 
. 
. 
. 
. 
. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}/Users/alexandertokhi/Nextcloud/MiZ/PoP/Pop_replication/stataLog.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}18 Feb 2021, 18:01:16
{txt}{.-}
{smcl}
{txt}{sf}{ul off}